projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6a225
)
(parse-time-string-chars): Check if CHAR is less than the length of
author
Kenichi Handa
<handa@m17n.org>
Wed, 18 Apr 2007 02:32:04 +0000
(
02:32
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 18 Apr 2007 02:32:04 +0000
(
02:32
+0000)
parse-time-syntax.
lisp/calendar/parse-time.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/parse-time.el
b/lisp/calendar/parse-time.el
index 4a786da772670058e24da50c1d98210bdde4c218..0913bc92160bee0b74b7b0e9e7f7fcc41c3457f2 100644
(file)
--- a/
lisp/calendar/parse-time.el
+++ b/
lisp/calendar/parse-time.el
@@
-66,7
+66,8
@@
(aref parse-time-digits char))
(defsubst parse-time-string-chars (char)
- (aref parse-time-syntax char))
+ (and (< char (length parse-time-syntax))
+ (aref parse-time-syntax char)))
(put 'parse-error 'error-conditions '(parse-error error))
(put 'parse-error 'error-message "Parsing error")